package com.lwj.liwanjia.bean;

import com.google.gson.annotations.SerializedName;

/**
 * Created by Administrator on 2017/11/15.
 */

public class WxBean {

    /**
     * state : 1
     * message : null
     * data : {"code":"200","msg":{"appid":"wx913adde2e48183ef","noncestr":"1353492188","package":"Sign=WXPay","partnerid":"1491528972","prepayid":"wx20171115135349537cf6710d0777348126","sign":"A8C7EDF9F7D0F77D9FC9B40B12280C0C","timestamp":1510725230}}
     */

    private int state;
    private Object message;
    private DataBean data;

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public Object getMessage() {
        return message;
    }

    public void setMessage(Object message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * code : 200
         * msg : {"appid":"wx913adde2e48183ef","noncestr":"1353492188","package":"Sign=WXPay","partnerid":"1491528972","prepayid":"wx20171115135349537cf6710d0777348126","sign":"A8C7EDF9F7D0F77D9FC9B40B12280C0C","timestamp":1510725230}
         */

        private String code;
        private MsgBean msg;

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public MsgBean getMsg() {
            return msg;
        }

        public void setMsg(MsgBean msg) {
            this.msg = msg;
        }

        public static class MsgBean {
            /**
             * appid : wx913adde2e48183ef
             * noncestr : 1353492188
             * package : Sign=WXPay
             * partnerid : 1491528972
             * prepayid : wx20171115135349537cf6710d0777348126
             * sign : A8C7EDF9F7D0F77D9FC9B40B12280C0C
             * timestamp : 1510725230
             */

            private String appid;
            private String noncestr;
            @SerializedName("package")
            private String packageX;
            private String partnerid;
            private String prepayid;
            private String sign;
            private long timestamp;

            public String getAppid() {
                return appid;
            }

            public void setAppid(String appid) {
                this.appid = appid;
            }

            public String getNoncestr() {
                return noncestr;
            }

            public void setNoncestr(String noncestr) {
                this.noncestr = noncestr;
            }

            public String getPackageX() {
                return packageX;
            }

            public void setPackageX(String packageX) {
                this.packageX = packageX;
            }

            public String getPartnerid() {
                return partnerid;
            }

            public void setPartnerid(String partnerid) {
                this.partnerid = partnerid;
            }

            public String getPrepayid() {
                return prepayid;
            }

            public void setPrepayid(String prepayid) {
                this.prepayid = prepayid;
            }

            public String getSign() {
                return sign;
            }

            public void setSign(String sign) {
                this.sign = sign;
            }

            public long getTimestamp() {
                return timestamp;
            }

            public void setTimestamp(long timestamp) {
                this.timestamp = timestamp;
            }
        }
    }
}
